package com.example.demo.PO;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private String studentID;
    private String name;
    private String gender;
    private String academic_status;
    private String faculty;
    private String major;
    private String major_categories;
    private Integer admission_year;
    private StudySituation study_situation;
    private ChooseCourseSetting choose_course_setting;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class StudySituation {
        private List<String> chosen_course;
        private List<String> taken_course;
        private List<String> failed_course;
        private Map<String, Double> credit_composition;
        private Double got_credit;

    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ChooseCourseSetting {
        private List<String> avoid_day;
        private List<String> avoid_time;
        private String major_intention;
    }
}